﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;

namespace ProjetS5
{
    public class DB_Item : DatabaseTable
    {
        /// <summary>
        /// Statistics the item provide.
        /// </summary>
        public Dictionary<ProjetS5.DB_Statistic, int> Statistics { get; set; }

        /// <summary>
        /// Abilities provided by an item.
        /// </summary>
        public List<DB_Ability> Abilities { get; set; }

        /// <summary>
        /// equippedItemsa's Quality.
        /// </summary>
        public DB_ItemQuality Quality { get; set; }

        /// <summary>
        /// Required Level to use or equip the item.
        /// </summary>
        public int RequiredLevel { get; set; }

        /// <summary>
        /// equippedItemsa's sell price.
        /// </summary>
        public int SellPrice { get; set; }

        /// <summary>
        /// equippedItemsa's Name.
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// equippedItemsa's level.
        /// </summary>
        public int ItemLevel { get; set; }

        /// <summary>
        /// Defines if the item can be dropped generically
        /// </summary>
        public bool IsGenericDrop { get; set; }

        /// <summary>
        /// Base pourcentage of drop (from a same level NPC).
        /// </summary>
        public float BaseRarity { get; set; }

        /// <summary>
        /// equippedItemsa's icon.
        /// </summary>
        public Texture2D Icon { get; set; }

        /// <summary>
        /// Maximum number of this item on the same slot.
        /// </summary>
        public int MaxStack { get; set; }
    }
}
